package com.gxa.common.commons;

public class JsonResult<T> {
    private Integer code;//返回状态码
    private String msg;//返回消息
    private Integer count;//查询总条数
    private T data;//返回数据(Map，List，String......)

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
